<%-- 
    Document   : cadastroLogin
    Created on : 01/08/2012, 21:00:15
    Author     : Bruno
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
  </head>
    <body >
       <div id="toppanel">
	<div id="panel">
		<div class="content clearfix">

			<div class="left">			
				<!-- Register Form -->
				<form action="/Cli-Carros/ControleUsuario" method="post" name="CadastroLogin" id="CadastroLogin">
					<h1>Cadastre-se!</h1>				
					<label class="grey" for="signup">Nome:</label>
					<input class="field" type="text" name="nome" id="nome" value="" size="23" />
                                        <label class="grey" for="email">Telefone:</label>
					<input class="field" type="text" name="telefone" id="telefone" size="23" />
					
			</div>	
                        <div class="left">
                            <h1></h1>
                            <label class="grey" for="email">Email:</label>
					<input class="field" type="text" name="email" id="email" size="23" />
                                        <label class="grey" for="email">Senha:</label>
					<input class="field" type="password" name="senha" id="senha" size="23" />
                                        <div class="clear"></div>
					<input type="submit" value="Cadastrar" class="enviar" name="cadastrar" />
                                
                                </form>
			</div>
                    
                        <div class="left right">
				<!-- Login Form -->
				<form class="clearfix" action="/Cli-Carros/ControleUsuario" method="post" name="CadastroLogin" id="CadastroLogin">
					<h1>Entrar</h1>
					<label class="grey" for="log">e-mail:</label>
					<input class="field" type="text" name="log" id="log" value="" size="23" />
					<label class="grey" for="pwd">Senha:</label>
					<input class="field" type="password" name="pwd" id="pwd" size="23" />
        			<div class="clear"></div>
					<input type="submit" name="submit" value="Login" class="enviar" />
				</form>
			</div>
		</div>
</div> <!-- /login -->	

	<!-- The tab on top -->	
	<div class="tab">
		<ul class="login">
			<li class="left">&nbsp;</li>
			<li>Olá!</li>
			<li class="sep">|</li>
			<li id="toggle">
				<a id="open" class="open" href="#">
                                    <% if (request.getSession().getAttribute("usuarioLogado") != null){ %>
                                    Sair   
                                    <% } else { %>
                                    Entrar | Cadastrar
                                    <%}%>
                                </a>
				<a id="close" style="display: none;" class="close" href="#">Fechar</a>			
			</li>
			<li class="right">&nbsp;</li>
		</ul> 
	</div> <!-- / top -->
	
</div> <!--panel -->
</body>
</html>

